/**
 * 
 */
package com.ubo.graphviz.model.graph.statement;

/**
 * @author saludegu
 * 
 */
public class Port {

	/**
	 * Nom du port.
	 */
	public final String mName;

	/**
	 * Direction du port.
	 */
	public final ECompassDirection mDirection;

	/**
	 * 
	 * Constructor
	 * 
	 * @param name
	 * @param direction
	 */
	public Port(String name, ECompassDirection direction) {
		mName = name;
		mDirection = direction;
	}

	/**
	 * @return the mName
	 */
	public String getName() {
		return mName;
	}

	/**
	 * @return the mDirection
	 */
	public ECompassDirection getDirection() {
		return mDirection;
	}

}
